package com.example.tool.exception;

import com.example.tool.anno.ExceptionType;
import com.example.tool.enums.ExceptionCode;

@ExceptionType(ExceptionCode.SYSTEM_ERR)
public abstract class ServiceException extends Exception {

    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    public ServiceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}